package com.ruoyi.bi.mapper.model;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.bi.domain.model.DataSource;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DataSourceMapper extends BaseMapper<DataSource> {

	List<DataSource> listDataSource();

	void insertDataSource(DataSource ds);

	void updateDataSource(DataSource ds);

	void deleteDataSource(@Param("dsid") String dsid);

	DataSource getDataSource(@Param("dsid") String dsid);
}
